#ifndef SERVER_H
#define SERVER_H

#include <iostream>
#include <string>

#include "Net.h"

#define MESHPORT 30000
#define NODEPORT 30001
#define PROTOCOLID 0x12341234
#define DELTATIME 0.001f
#define SENDRATE 0.001f
#define TIMEOUT 10.0f

class Server {
public:
	Server(int maxNodes);
private:
	bool connected;
	net::Node *node;
	net::Mesh *mesh;
};

#endif
